'use strict'

let obj={
    abc:'简单点',
    adc:'代码的规则简单点',
    ccb:'我记忆力也有限'
}

console.log(JSON.stringify(obj,null,' '));


var student = {
    name:'Robot',
    height:1.7,
    ning: function(){
        console.log(this.name + 'is ning...');
        return '我是小明你信吗'
    }
}

let xiaoming = {
    name :"小明"
}

xiaoming._proto_=student;

console.log(xiaoming.ning());
console.log(xiaoming.height);



function stundent2(name){
    this.name=name;
    this.age=18
}

console.dir(stundent2);
let xx= new  stundent2('撒旦');
console.log(xx._proto_===student2.prototype);